
package webservices.bizHangYi;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for IO_OrdIDPrvdThdPrtType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="IO_OrdIDPrvdThdPrtType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="T0"/>
 *     &lt;enumeration value="T1"/>
 *     &lt;enumeration value="T2"/>
 *     &lt;enumeration value="T3"/>
 *     &lt;enumeration value="T4"/>
 *     &lt;enumeration value="T5"/>
 *     &lt;enumeration value="T6"/>
 *     &lt;enumeration value="TaiPing"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "IO_OrdIDPrvdThdPrtType")
@XmlEnum
public enum IOOrdIDPrvdThdPrtType {

    @XmlEnumValue("T0")
    T_0("T0"),
    @XmlEnumValue("T1")
    T_1("T1"),
    @XmlEnumValue("T2")
    T_2("T2"),
    @XmlEnumValue("T3")
    T_3("T3"),
    @XmlEnumValue("T4")
    T_4("T4"),
    @XmlEnumValue("T5")
    T_5("T5"),
    @XmlEnumValue("T6")
    T_6("T6"),
    @XmlEnumValue("TaiPing")
    TAI_PING("TaiPing");
    private final String value;

    IOOrdIDPrvdThdPrtType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static IOOrdIDPrvdThdPrtType fromValue(String v) {
        for (IOOrdIDPrvdThdPrtType c: IOOrdIDPrvdThdPrtType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
